package com.me.facade;

/**
 * 外观模式,把复杂逻辑封装在内部,降低用户使用的复杂性
 */
public class Client {
    public static void main(String[] args) {
        HomeTheaterFacade homeTheaterFacade = new HomeTheaterFacade();
        homeTheaterFacade.ready();
        homeTheaterFacade.play();
        homeTheaterFacade.end();
    }
}
